package com.smart.campus.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.campus.common.annotation.Excel;
import com.smart.campus.common.core.domain.BaseEntity;

/**
 * 违规记录对象 sc_illegal_record
 *
 * @author Zhihe.Li
 * @date 2020-06-16
 */
public class IllegalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 违规类型id */
    @Excel(name = "违规类型id")
    private Long illegalTypeId;

    /** 学校id */
    @Excel(name = "学校id")
    private Long schoolId;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 详情 */
    @Excel(name = "详情")
    private String detail;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creatBy;

    /** 年级id */
    @Excel(name = "年级id")
    private Long gradeId;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradeName;

    /** 班级d */
    @Excel(name = "班级d")
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIllegalTypeId(Long illegalTypeId)
    {
        this.illegalTypeId = illegalTypeId;
    }

    public Long getIllegalTypeId()
    {
        return illegalTypeId;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }

    public String getDetail()
    {
        return detail;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setCreatBy(String creatBy)
    {
        this.creatBy = creatBy;
    }

    public String getCreatBy()
    {
        return creatBy;
    }
    public void setGradeId(Long gradeId)
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId()
    {
        return gradeId;
    }
    public void setGradeName(String gradeName)
    {
        this.gradeName = gradeName;
    }

    public String getGradeName()
    {
        return gradeName;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("illegalTypeId", getIllegalTypeId())
                .append("schoolId", getSchoolId())
                .append("studentId", getStudentId())
                .append("studentName", getStudentName())
                .append("detail", getDetail())
                .append("remark", getRemark())
                .append("status", getStatus())
                .append("creatBy", getCreatBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("gradeId", getGradeId())
                .append("gradeName", getGradeName())
                .append("classId", getClassId())
                .append("className", getClassName())
                .toString();
    }
}